package com.seeyon.apps.kk.manager.datasync;

import java.util.Date;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.seeyon.apps.kk.manager.BaseManager;

public abstract class AbstractInterfaceForSeep extends BaseManager{
	private static final Log log = LogFactory.getLog(AbstractInterfaceForSeep.class);
		//SEEP活动信息
		public void start1() {
			log.info("=======================开始同步===================="+new Date());
			this.beforeGrabData();
			this.getDataForWebservices1();
			log.info("=======================结束同步===================="+new Date());
		}
		//参会明细
		public void start2() {
			log.info("=======================开始同步===================="+new Date());
			this.beforeGrabData();
			this.getDataForWebservices2();
			log.info("=======================结束同步===================="+new Date());
		}
		//讲师明细
		public void start3() {
			log.info("=======================开始同步===================="+new Date());
			this.beforeGrabData();
			this.getDataForWebservices3();
			log.info("=======================结束同步===================="+new Date());
		}
		
		
		public abstract boolean beforeGrabData();
		
		public abstract boolean getDataForWebservices1();
		
		public abstract boolean getDataForWebservices2();
		
		public abstract boolean getDataForWebservices3();
}
